/*
 * JBoss, Home of Professional Open Source
 * Copyright , Red Hat, Inc. and individual contributors
 * by the @authors tag. See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package be.novelfaces.component.input;

import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;

import javax.annotation.Generated;
import javax.faces.component.behavior.ClientBehaviorHolder;

/**
 * 
 **/
@Generated({"RichFaces CDK", "4.0.0-SNAPSHOT"})
public class InputText extends AbstractInputText
    implements ClientBehaviorHolder    {

    public static final String COMPONENT_TYPE="be.novelfaces.component.InputText";

    public static final String COMPONENT_FAMILY="be.novelfaces.component";

    @Override
    public String getFamily() {
        return COMPONENT_FAMILY;
    }

    public InputText() {
        super();
        setRendererType("be.novelfaces.component.InputTextRenderer");
    }

    private static final Collection<String> EVENT_NAMES = Collections.unmodifiableCollection(Arrays.asList(
        "dragend",
        "mousedown",
        "scroll",
        "drag",
        "mouseover",
        "submit",
        "dragover",
        "mousemove",
        "keydown",
        "mouseout",
        "invalid",
        "onchange",
        "keypress",
        "contextmenu",
        "dblclick",
        "input",
        "dragleave",
        "select",
        "mouseup",
        "keyup",
        "mousewheel",
        "formchange",
        "dragstart",
        "click",
        "blur",
        "focus",
        "drop",
        "dragenter",
        "forminput",
        "valueChange"
        ));
    
    public Collection<String> getEventNames() {
        return EVENT_NAMES;
    }


    public String getDefaultEventName() {
        return "valueChange";
    }


    protected enum Properties {
        accesskey,
        autocomplete,
        autofocus,
        contenteditable,
        contextmenu,
        dir,
        disabled,
        draggable,
        dropzone,
        form,
        hidden,
        label,
        lang,
        list,
        maxlength,
        onblur,
        onchange,
        onclick,
        oncontextmenu,
        ondblclick,
        ondrag,
        ondragend,
        ondragenter,
        ondragleave,
        ondragover,
        ondragstart,
        ondrop,
        onfocus,
        onformchange,
        onforminput,
        oninput,
        oninvalid,
        onkeydown,
        onkeypress,
        onkeyup,
        onmousedown,
        onmousemove,
        onmouseout,
        onmouseover,
        onmouseup,
        onmousewheel,
        onscroll,
        onselect,
        onsubmit,
        pattern,
        placeholder,
        readonly,
        required,
        size,
        spellcheck,
        style,
        styleClass,
        tabindex,
        title
        
    }

 
    public String getAccesskey() {
        String value = (String) getStateHelper().eval(Properties.accesskey);
        return value;
    }
    
    public void setAccesskey(String accesskey) {
        getStateHelper().put(Properties.accesskey, accesskey);
    }

 
    public String getAutocomplete() {
        String value = (String) getStateHelper().eval(Properties.autocomplete);
        return value;
    }
    
    public void setAutocomplete(String autocomplete) {
        getStateHelper().put(Properties.autocomplete, autocomplete);
    }

 
    public boolean isAutofocus() {
        Boolean value = (Boolean) getStateHelper().eval(Properties.autofocus, false);
        return value;
    }
    
    public void setAutofocus(boolean autofocus) {
        getStateHelper().put(Properties.autofocus, autofocus);
    }

 
    public String getContenteditable() {
        String value = (String) getStateHelper().eval(Properties.contenteditable);
        return value;
    }
    
    public void setContenteditable(String contenteditable) {
        getStateHelper().put(Properties.contenteditable, contenteditable);
    }

 
    public String getContextmenu() {
        String value = (String) getStateHelper().eval(Properties.contextmenu);
        return value;
    }
    
    public void setContextmenu(String contextmenu) {
        getStateHelper().put(Properties.contextmenu, contextmenu);
    }

 
    public String getDir() {
        String value = (String) getStateHelper().eval(Properties.dir);
        return value;
    }
    
    public void setDir(String dir) {
        getStateHelper().put(Properties.dir, dir);
    }

 
    public boolean isDisabled() {
        Boolean value = (Boolean) getStateHelper().eval(Properties.disabled, false);
        return value;
    }
    
    public void setDisabled(boolean disabled) {
        getStateHelper().put(Properties.disabled, disabled);
    }

 
    public String getDraggable() {
        String value = (String) getStateHelper().eval(Properties.draggable);
        return value;
    }
    
    public void setDraggable(String draggable) {
        getStateHelper().put(Properties.draggable, draggable);
    }

 
    public String getDropzone() {
        String value = (String) getStateHelper().eval(Properties.dropzone);
        return value;
    }
    
    public void setDropzone(String dropzone) {
        getStateHelper().put(Properties.dropzone, dropzone);
    }

 
    public String getForm() {
        String value = (String) getStateHelper().eval(Properties.form);
        return value;
    }
    
    public void setForm(String form) {
        getStateHelper().put(Properties.form, form);
    }

 
    public boolean isHidden() {
        Boolean value = (Boolean) getStateHelper().eval(Properties.hidden, false);
        return value;
    }
    
    public void setHidden(boolean hidden) {
        getStateHelper().put(Properties.hidden, hidden);
    }

 
    public String getLabel() {
        String value = (String) getStateHelper().eval(Properties.label);
        return value;
    }
    
    public void setLabel(String label) {
        getStateHelper().put(Properties.label, label);
    }

 
    public String getLang() {
        String value = (String) getStateHelper().eval(Properties.lang);
        return value;
    }
    
    public void setLang(String lang) {
        getStateHelper().put(Properties.lang, lang);
    }

 
    public String getList() {
        String value = (String) getStateHelper().eval(Properties.list);
        return value;
    }
    
    public void setList(String list) {
        getStateHelper().put(Properties.list, list);
    }

 
    public int getMaxlength() {
        Integer value = (Integer) getStateHelper().eval(Properties.maxlength, Integer.MIN_VALUE);
        return value;
    }
    
    public void setMaxlength(int maxlength) {
        getStateHelper().put(Properties.maxlength, maxlength);
    }

 
    public String getOnblur() {
        String value = (String) getStateHelper().eval(Properties.onblur);
        return value;
    }
    
    public void setOnblur(String onblur) {
        getStateHelper().put(Properties.onblur, onblur);
    }

 
    public String getOnchange() {
        String value = (String) getStateHelper().eval(Properties.onchange);
        return value;
    }
    
    public void setOnchange(String onchange) {
        getStateHelper().put(Properties.onchange, onchange);
    }

 
    public String getOnclick() {
        String value = (String) getStateHelper().eval(Properties.onclick);
        return value;
    }
    
    public void setOnclick(String onclick) {
        getStateHelper().put(Properties.onclick, onclick);
    }

 
    public String getOncontextmenu() {
        String value = (String) getStateHelper().eval(Properties.oncontextmenu);
        return value;
    }
    
    public void setOncontextmenu(String oncontextmenu) {
        getStateHelper().put(Properties.oncontextmenu, oncontextmenu);
    }

 
    public String getOndblclick() {
        String value = (String) getStateHelper().eval(Properties.ondblclick);
        return value;
    }
    
    public void setOndblclick(String ondblclick) {
        getStateHelper().put(Properties.ondblclick, ondblclick);
    }

 
    public String getOndrag() {
        String value = (String) getStateHelper().eval(Properties.ondrag);
        return value;
    }
    
    public void setOndrag(String ondrag) {
        getStateHelper().put(Properties.ondrag, ondrag);
    }

 
    public String getOndragend() {
        String value = (String) getStateHelper().eval(Properties.ondragend);
        return value;
    }
    
    public void setOndragend(String ondragend) {
        getStateHelper().put(Properties.ondragend, ondragend);
    }

 
    public String getOndragenter() {
        String value = (String) getStateHelper().eval(Properties.ondragenter);
        return value;
    }
    
    public void setOndragenter(String ondragenter) {
        getStateHelper().put(Properties.ondragenter, ondragenter);
    }

 
    public String getOndragleave() {
        String value = (String) getStateHelper().eval(Properties.ondragleave);
        return value;
    }
    
    public void setOndragleave(String ondragleave) {
        getStateHelper().put(Properties.ondragleave, ondragleave);
    }

 
    public String getOndragover() {
        String value = (String) getStateHelper().eval(Properties.ondragover);
        return value;
    }
    
    public void setOndragover(String ondragover) {
        getStateHelper().put(Properties.ondragover, ondragover);
    }

 
    public String getOndragstart() {
        String value = (String) getStateHelper().eval(Properties.ondragstart);
        return value;
    }
    
    public void setOndragstart(String ondragstart) {
        getStateHelper().put(Properties.ondragstart, ondragstart);
    }

 
    public String getOndrop() {
        String value = (String) getStateHelper().eval(Properties.ondrop);
        return value;
    }
    
    public void setOndrop(String ondrop) {
        getStateHelper().put(Properties.ondrop, ondrop);
    }

 
    public String getOnfocus() {
        String value = (String) getStateHelper().eval(Properties.onfocus);
        return value;
    }
    
    public void setOnfocus(String onfocus) {
        getStateHelper().put(Properties.onfocus, onfocus);
    }

 
    public String getOnformchange() {
        String value = (String) getStateHelper().eval(Properties.onformchange);
        return value;
    }
    
    public void setOnformchange(String onformchange) {
        getStateHelper().put(Properties.onformchange, onformchange);
    }

 
    public String getOnforminput() {
        String value = (String) getStateHelper().eval(Properties.onforminput);
        return value;
    }
    
    public void setOnforminput(String onforminput) {
        getStateHelper().put(Properties.onforminput, onforminput);
    }

 
    public String getOninput() {
        String value = (String) getStateHelper().eval(Properties.oninput);
        return value;
    }
    
    public void setOninput(String oninput) {
        getStateHelper().put(Properties.oninput, oninput);
    }

 
    public String getOninvalid() {
        String value = (String) getStateHelper().eval(Properties.oninvalid);
        return value;
    }
    
    public void setOninvalid(String oninvalid) {
        getStateHelper().put(Properties.oninvalid, oninvalid);
    }

 
    public String getOnkeydown() {
        String value = (String) getStateHelper().eval(Properties.onkeydown);
        return value;
    }
    
    public void setOnkeydown(String onkeydown) {
        getStateHelper().put(Properties.onkeydown, onkeydown);
    }

 
    public String getOnkeypress() {
        String value = (String) getStateHelper().eval(Properties.onkeypress);
        return value;
    }
    
    public void setOnkeypress(String onkeypress) {
        getStateHelper().put(Properties.onkeypress, onkeypress);
    }

 
    public String getOnkeyup() {
        String value = (String) getStateHelper().eval(Properties.onkeyup);
        return value;
    }
    
    public void setOnkeyup(String onkeyup) {
        getStateHelper().put(Properties.onkeyup, onkeyup);
    }

 
    public String getOnmousedown() {
        String value = (String) getStateHelper().eval(Properties.onmousedown);
        return value;
    }
    
    public void setOnmousedown(String onmousedown) {
        getStateHelper().put(Properties.onmousedown, onmousedown);
    }

 
    public String getOnmousemove() {
        String value = (String) getStateHelper().eval(Properties.onmousemove);
        return value;
    }
    
    public void setOnmousemove(String onmousemove) {
        getStateHelper().put(Properties.onmousemove, onmousemove);
    }

 
    public String getOnmouseout() {
        String value = (String) getStateHelper().eval(Properties.onmouseout);
        return value;
    }
    
    public void setOnmouseout(String onmouseout) {
        getStateHelper().put(Properties.onmouseout, onmouseout);
    }

 
    public String getOnmouseover() {
        String value = (String) getStateHelper().eval(Properties.onmouseover);
        return value;
    }
    
    public void setOnmouseover(String onmouseover) {
        getStateHelper().put(Properties.onmouseover, onmouseover);
    }

 
    public String getOnmouseup() {
        String value = (String) getStateHelper().eval(Properties.onmouseup);
        return value;
    }
    
    public void setOnmouseup(String onmouseup) {
        getStateHelper().put(Properties.onmouseup, onmouseup);
    }

 
    public String getOnmousewheel() {
        String value = (String) getStateHelper().eval(Properties.onmousewheel);
        return value;
    }
    
    public void setOnmousewheel(String onmousewheel) {
        getStateHelper().put(Properties.onmousewheel, onmousewheel);
    }

 
    public String getOnscroll() {
        String value = (String) getStateHelper().eval(Properties.onscroll);
        return value;
    }
    
    public void setOnscroll(String onscroll) {
        getStateHelper().put(Properties.onscroll, onscroll);
    }

 
    public String getOnselect() {
        String value = (String) getStateHelper().eval(Properties.onselect);
        return value;
    }
    
    public void setOnselect(String onselect) {
        getStateHelper().put(Properties.onselect, onselect);
    }

 
    public String getOnsubmit() {
        String value = (String) getStateHelper().eval(Properties.onsubmit);
        return value;
    }
    
    public void setOnsubmit(String onsubmit) {
        getStateHelper().put(Properties.onsubmit, onsubmit);
    }

 
    public String getPattern() {
        String value = (String) getStateHelper().eval(Properties.pattern);
        return value;
    }
    
    public void setPattern(String pattern) {
        getStateHelper().put(Properties.pattern, pattern);
    }

 
    public String getPlaceholder() {
        String value = (String) getStateHelper().eval(Properties.placeholder);
        return value;
    }
    
    public void setPlaceholder(String placeholder) {
        getStateHelper().put(Properties.placeholder, placeholder);
    }

 
    public boolean isReadonly() {
        Boolean value = (Boolean) getStateHelper().eval(Properties.readonly, false);
        return value;
    }
    
    public void setReadonly(boolean readonly) {
        getStateHelper().put(Properties.readonly, readonly);
    }

 
    public boolean isRequired() {
        Boolean value = (Boolean) getStateHelper().eval(Properties.required, false);
        return value;
    }
    
    public void setRequired(boolean required) {
        getStateHelper().put(Properties.required, required);
    }

 
    public int getSize() {
        Integer value = (Integer) getStateHelper().eval(Properties.size, Integer.MIN_VALUE);
        return value;
    }
    
    public void setSize(int size) {
        getStateHelper().put(Properties.size, size);
    }

 
    public String getSpellcheck() {
        String value = (String) getStateHelper().eval(Properties.spellcheck);
        return value;
    }
    
    public void setSpellcheck(String spellcheck) {
        getStateHelper().put(Properties.spellcheck, spellcheck);
    }

 
    public String getStyle() {
        String value = (String) getStateHelper().eval(Properties.style);
        return value;
    }
    
    public void setStyle(String style) {
        getStateHelper().put(Properties.style, style);
    }

 
    public String getStyleClass() {
        String value = (String) getStateHelper().eval(Properties.styleClass);
        return value;
    }
    
    public void setStyleClass(String styleClass) {
        getStateHelper().put(Properties.styleClass, styleClass);
    }

 
    public String getTabindex() {
        String value = (String) getStateHelper().eval(Properties.tabindex);
        return value;
    }
    
    public void setTabindex(String tabindex) {
        getStateHelper().put(Properties.tabindex, tabindex);
    }

 
    public String getTitle() {
        String value = (String) getStateHelper().eval(Properties.title);
        return value;
    }
    
    public void setTitle(String title) {
        getStateHelper().put(Properties.title, title);
    }

    

}